Ext.define('EUF.model.FeeMdl', {
    extend: 'Ext.data.Model',
    fields: [
	
             
        { name: 'slipNo', type: 'string' },
        { name: 'date', type: 'date' },
        { name: 'batch', type: 'string' },
        { name: 'className', type: 'string' },
        { name: 'admNo', type: 'string' },
        { name: 'rollNo', type: 'string' },
        { name: 'studentName', type: 'string' },
        { name: 'fatherName', type: 'string' },
        { name: 'admissionFee', type: 'double' },
        { name: 'tutionFee', type: 'double' },
        { name: 'youthFee', type: 'double' },
        { name: 'nccFee', type: 'double' },
        { name: 'holidayFee', type: 'double' },
        { name: 'pbsportFee', type: 'double' },
        { name: 'unicontFee', type: 'double' },
        { name: 'unisportsFee', type: 'double' },
        { name: 'nssFee', type: 'double' },
        { name: 'blockEntryFee', type: 'double' },	
        { name: 'collegeDevFund', type: 'double' },
        { name: 'highEduFund', type: 'double' },
        { name: 'pbPhysDevFund', type: 'double' },
        { name: 'certiVerifiedFund', type: 'double' },
        { name: 'uniMigFee', type: 'double' },
        { name: 'lateFee', type: 'double' },
        { name: 'fine', type: 'double' },
        { name: 'buildingFund', type: 'double' },
        { name: 'medicalFee', type: 'double' },
        { name: 'studentAidFund', type: 'double' },
        { name: 'depledation', type: 'double' },
        { name: 'furnitureFee', type: 'double' },
        { name: 'pbf', type: 'double' },
        { name: 'af', type: 'double' },
        { name: 'waterandelectricFee', type: 'double' },
        { name: 'correspondence', type: 'double' },
        { name: 'ic', type: 'double' },
        { name: 'houseExam', type: 'double' },
        { name: 'magazine', type: 'double' },
        { name: 'culturalFee', type: 'double' },
        { name: 'libDevelopment', type: 'double' },
        { name: 'scienceFee', type: 'double' },
        { name: 'miscFund', type: 'double' },
        {name: 'gen', type: 'boolean'},
		{name: 'sc', type: 'boolean'},
        { name: 'pendingDues', type: 'double' },
        { name: 'techcourse', type: 'double' },
        { name: 'totalFee', type: 'double' },
        { name: 'netTotal', type: 'double' },
        { name: 'universityExamFee', type: 'double' },
        { name: 'universityForm', type: 'double' }
        
        
    ]
	
	,
	proxy: {
   type: 'ajax',
   extraParams: {collection_name : 'StudentFee',whereFields : ''},
   
   
    api:
   {
    create : '/save',
    read:'/read'
   },
   writer: {
    type: 'json',
   // root: 'data'
   },
   reader: {
	    type: 'json',
	   // root: 'data'
	   }
   }
	
});